:root {
	--model-duration: 1s;
	--primary-color: #30336b;
	--secondary-color: #be2edd;
}

* {
	box-sizing: border-box;
}
html {
	width: 100%;
	height: 100%;
}
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	transition: transform 0.5s ease;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body.show-nav {
	transform: translateX(220px);
	width: calc(100% - 220px);
	height: 100%;
}
nav {
	background-color: var(--primary-color);
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 220px;
	height: 100vh;
	z-index: 100;
	transform: translateX(-100%);
}

nav .logo {
	padding: 30px 0;
	text-align: center;
	background-color: #efefef;
}

nav .logo img {
	width: 100px;
	/* height: 75px; */
}

nav ul {
	padding: 0;
	list-style: none;
	margin: 0;
}

nav ul li {
	border-bottom: 2px solid rgba(200,200,200,0.1);
	padding: 20px;
}

nav ul li:first-of-type {
	border-top: 2px solid rgba(200,200,200,0.1);
}

nav ul li a {
	color: #fff;
	text-decoration: none;
}

nav ul li a:hover {
	text-decoration: underline;
}

header {
	background-color: var(--primary-color);
	color: #fff;
	font-size: 130%;
	text-align: center;
	position: relative;
	padding: 40px 15px;
}

header h1 {
	margin: 0;
}

header p {
	margin: 30px 0;
}

button, input[type="submit"] {
	background-color: var(--secondary-color);
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	padding: 8px 12px;
}

button:focus {
	outline: none;
}

.toggle {
	background-color: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 20px;
	left: 20px;
}

.cta-btn {
	padding: 12px 30px;
	font-size: 20px;
}

.container {
	padding: 15px;
	margin: 0 auto;
	max-width: 100%;
	width: 800px;
}

.model-container {
	background-color: rgba(0,0,0,0.6);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
}

.model-container.show-model {
	display: block;
}
.model {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	max-width: 100%;
	width: 400px;
	animation-name: modelopen;
	animation-duration: var(--model-duration);
}

.model-header {
	background-color: var(--primary-color);
	color: #fff;
	padding: 15px;
}

.model-header h3 {
	margin: 0;
	border-bottom: 1px solid var(--primary-color);
}

.close-btn {
	background-color: transparent;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 25px;
	
}

.model-content {
	padding: 20px;
}

.model-form div{
	margin: 15px 0;
}

.model-form label {
	display: block;
	margin-bottom: 5px;
}

.model-form .form-input {
	padding: 8px;
	width: 100%;
}

@keyframes modelopen{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}